package com.carrental.api.ums.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.carrental.api.ums.domain.UmsUser;
import com.carrental.api.ums.domain.vo.UmsUserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员信息Mapper接口
 *
 * @author liangyi
 * @date 2022-03-20
 */
public interface UmsUserMapper extends BaseMapper<UmsUser> {
    IPage<UmsUserVo> pageList(IPage<?> objectPage, @Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

    List<UmsUserVo> pageList(@Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

    UmsUserVo detail(@Param(Constants.WRAPPER) Wrapper<?> queryWrapper);

}
